<?php
//状态码

namespace app\admin\controller;

class MessageCode extends Base
{
    protected $middleware = ['app\admin\middleware\UpdateCacheAfter::class'];  //缓存控制器中间件

    /**
     * Desc:
     * User: 苏鹏
     * Date: 2023/8/29
     * Time: 20:23
     * @return void
     */
    public function filter(&$map, &$field)
    {
        $map = [['status', 'in', '1,2']];
    }
}